package com.yidu.Util.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface DbutilMapper {

    @Select("select max(${tableId})  from ${table}")
    public String getTable2(String tableId, String table);

    @Select("select max(${tableId}) from ${table} where ${tableTime} = #{time}")
    public String getTable(String tableId,String table,String tableTime,String time);
}
